<?php

/*
 * Niken Larasati
 * larasati.n@students.amikom.ac.id
 */

class agama_m extends CI_Model{
    public function __construct() {
        parent::__construct();
    }
    
    function ambil_data(){
        $this->db->select('agama.idagama as idagama, agama.agama as agama');
        $this->db->from('agama');
        return $this->db->get();
    }
    
}

?>

